# # Python 2.x
# s = "hello"         # ASCII 字符串
# u = u"hello"        # Unicode 字符串
# print type(s)       # <type 'str'>
# print type(u)       # <type 'unicode'>
 
# Python 3.x
s = "hello"         # 默认是 Unicode 字符串
b = b"hello"        # 字节类型
print(type(s))      # <class 'str'>
print(type(b))      # <class 'bytes'>